$OpenBSD: patch-printing_printing_gyp,v 1.30 2014/11/19 21:27:32 robert Exp $
--- printing/printing.gyp.orig.port	Wed Nov 19 06:13:10 2014
+++ printing/printing.gyp	Wed Nov 19 08:38:26 2014
@@ -187,7 +187,7 @@
             'backend/print_backend_chromeos.cc',
           ],
         }],
-        ['OS=="linux" and chromeos==0', {
+        ['(OS=="linux" or os_bsd == 1) and chromeos==0', {
           'sources': [
             'printing_context_linux.cc',
             'printing_context_linux.h',
@@ -280,6 +280,12 @@
               ['os_bsd==1', {
                 'cflags': [
                   '<!@(python cups_config_helper.py --cflags)',
+                ],
+              }],
+              [ 'OS == "openbsd"', {
+                'cflags': [
+                  '<!@(python cups_config_helper.py --cflags)',
+                  '-Wno-deprecated-declarations',
                 ],
               }],
             ],
